package com.flash.SystemManagement.mapper;

import com.flash.SystemManagement.entity.UserRole;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserRoleMapper {
    @Select("select * from UserRole")
    List<UserRole> selectUserRole();
//
//    @Insert("insert into users values(#{userRoleId},#{userRoleName},#{userRolePas},#{userRoleRoleId},#{userRoleFlag})")
//    public int insertUserRole(UserRole userRole);
//
//    int deleteUserRole(int userRoleId);
//
//    List<UserRole> selectLikeUserRole(String userRoleName);
//    int updateUserRole(UserRole userRole);
}
